package tq.com.tqstudent.net.ok;

import com.lib.common.utils.LogUtil;
import com.lzy.okgo.model.Progress;
import com.lzy.okserver.download.DownloadListener;

import java.io.File;

/**
 * @Author rames
 * @date 2019/3/12 14:55
 */
public class PdfDownloadListener extends DownloadListener {

    public PdfDownloadListener() {
        super("PdfDownloadListener");
    }

    @Override
    public void onStart(Progress progress) {
        LogUtil.e("onStart: "+progress);
    }

    @Override
    public void onProgress(Progress progress) {
        LogUtil.e("onProgress: "+progress);
    }

    @Override
    public void onError(Progress progress) {
        LogUtil.e("onError: "+progress);
    }

    @Override
    public void onFinish(File file, Progress progress) {
        LogUtil.e("onFinish: "+progress);
    }

    @Override
    public void onRemove(Progress progress) {
        LogUtil.e("onRemove: "+progress);
    }
}
